package com.evil.Bean;

import java.util.ArrayList;
import java.util.Date;

/********************************************
 * 工程名：Web
 * 包名：com.evil.Bean
 * 时间：16-9-25 下午9:54
 * 作者：白雨濃 evil
 * 邮箱：evilbai@foxmail.com
 * 内容：分享邀请Bean
 ********************************************/
public class ShareBean
{
    private String phone;/*用户手机号*/
    private String inviter_phone;/*邀请人手机号*/
    private String inviter_time;/*邀请加入时间*/
    private ArrayList<Invitee> invitees;/*被邀请人集合*/

    public static class Invitee
    {
        private String invitee_phone;/*被邀请人手机号*/
        private Date invitee_time;/*被邀请时间*/

        public Invitee(String invitee_phone, Date invitee_time)
        {
            this.invitee_phone = invitee_phone;
            this.invitee_time = invitee_time;
        }

        public String getInvitee_phone()
        {
            return invitee_phone;
        }

        public void setInvitee_phone(String invitee_phone)
        {
            this.invitee_phone = invitee_phone;
        }

        public Date getInvitee_time()
        {
            return invitee_time;
        }

        public void setInvitee_time(Date invitee_time)
        {
            this.invitee_time = invitee_time;
        }

        @Override
        public String toString()
        {
            return "Invitee{" +
                    "invitee_phone='" + invitee_phone + '\'' +
                    ", invitee_time=" + invitee_time +
                    '}';
        }
    }

    public ShareBean(String phone, String inviter_phone, String inviter_time, ArrayList<Invitee> invitees)
    {
        this.phone = phone;
        this.inviter_phone = inviter_phone;
        this.inviter_time = inviter_time;
        this.invitees = invitees;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getInviter_phone()
    {
        return inviter_phone;
    }

    public void setInviter_phone(String inviter_phone)
    {
        this.inviter_phone = inviter_phone;
    }

    public String getInviter_time()
    {
        return inviter_time;
    }

    public void setInviter_time(String inviter_time)
    {
        this.inviter_time = inviter_time;
    }

    public ArrayList<Invitee> getInvitees()
    {
        return invitees;
    }

    public void setInvitees(ArrayList<Invitee> invitees)
    {
        this.invitees = invitees;
    }

    @Override
    public String toString()
    {
        return "ShareBean{" +
                "phone='" + phone + '\'' +
                ", inviter_phone='" + inviter_phone + '\'' +
                ", inviter_time='" + inviter_time + '\'' +
                ", invitees=" + invitees +
                '}';
    }
}
